<?php
//观察者接口
interface ObserverInterface {
     public function update(SubjectInterface $subject);
}